<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册页面练习</title>
</head>
<body>
<h1>欢迎注册</h1>
<form action="" method="post">
    <table border="1">
        <tr>
            <td>用户名:</td>
            <td><input type="text" name="username" maxlength="10" placeholder="请输入用户名"></td>
        </tr>
        <tr>
            <td>密码:</td>
            <td><input type="password" name="password" placeholder="请输入密码"></td>
        </tr>
        <tr>
            <td>性别:</td>
            <td>
                <input type="radio" name="gender" value="男">男
                <input type="radio" name="gender" value="女">女
            </td>
        </tr>
        <tr>
            <td>爱好:</td>
            <td>
                <input type="checkbox" name="hobby" value="cy">抽烟
                <input type="checkbox" name="hobby" value="hj">喝酒
                <input type="checkbox" name="hobby" value="tt">烫头
            </td>
        </tr>
        <tr>
            <td>邮箱:</td>
            <td><input type="email" name="email" placeholder="请输入邮箱"></td>
        </tr>
        <tr>
            <td>生日:</td>
            <td><input type="date" name="birthday"></td>
        </tr>
        <tr>
            <td>靓照:</td>
            <td><input type="file" name="pic"></td>
        </tr>
        <tr>
            <td>所在地:</td>
            <td>
                <select name="city">
                    <option value="北京" selected>北京</option>
                    <option value="成都">成都</option>
                    <option value="重庆">重庆</option>
                </select>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <input type="submit" name="注册" value="注册">
            </td>
        </tr>
    </table>
</form>
</body>
</html>